package com.woniuxy.bookmall.vo;

import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class OrderVo {
    private Long id;
    private String ordernum;
    private BigDecimal totalprice;
    private Long userid;
    private Long addressid;
    private AddressVo addressVo;
    private Date createtime;
    private List<Cart> carts ;
    /**
     * 0.未支付 1.已支付 2.已取消 3，取消中
     */
    private Integer state;
}
